package com.modules.entity.project;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 通行记录
 * </p>
 *
 * @author yyq
 * @since 2023-01-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("project_scan")
@ApiModel(value="ScanEntity对象", description="通行记录")
public class ScanEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "通行记录ID")
    @TableId(type= IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "人员编号")
    private String eno;

    @ApiModelProperty(value = "人员名称")
    private String name;

    @ApiModelProperty(value = "通行时间")
    private String scanTime;

    @ApiModelProperty(value = "通行照片")
    private String scanImage;

    @ApiModelProperty(value = "校验状态：0等待校验 1校验成功 2校验失败 默认0")
    private Integer checkState;

    @ApiModelProperty(value = "校验人脸时间")
    private String checkFaceTime;

    @ApiModelProperty(value = "校验人脸分值")
    private String checkFaceNum;

    @ApiModelProperty(value = "设置校验分值")
    private String configFaceNum;

    @ApiModelProperty(value = "上传状态：0未上传 1已上传 2不需要上传")
    private Integer uploadState;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "设备序列号")
    private String serialNum;

    @ApiModelProperty(value = "进出类型：0出 1进")
    private Integer inOut;

    @TableField(exist = false)
    @ApiModelProperty(value = "进出类型：0出 1进")
    private String beginDate;

    @TableField(exist = false)
    @ApiModelProperty(value = "进出类型：0出 1进")
    private String endDate;

    @ApiModelProperty(value = "上传类型")
    private String uploadType;



}
